<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=800">
<style>
html {font-size: 16px; }
body { width: 800px; margin: 0; overflow-y: hidden; }
#footer {
    text-align: center;
    width: 500px;
}
</style>

<script src="resources/autosizingTest.js"></script>
</head>
<body>
<div>
    <div id="content">
        This content is autosized to 40px computed font size (16 * 800/320), since the width of the root cluster is used for autosizing.<br/>
        Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
    </div>
    <center>
        <!-- This footer is similar to the footers found on 360.cn and youtube.com -->
        <div id="footer">
            <p>
                <a href="http://foo.com">link link</a>
                <a href="http://foo.com">link link</a>
                <a href="http://foo.com">link link</a>
                <a href="http://foo.com">link link</a>
                <a href="http://foo.com">link link</a>
                <a href="http://foo.com">link link</a>
            </p>
            <p>
                copyright 2014. This footer should not be autosized.
            </p>
            <p>
                abc
                <a href="http://foo.com">link link</a>
                <a href="http://foo.com">link link</a>
                <a href="http://foo.com">link link</a>
                <a href="http://foo.com">link link</a>
                <a href="http://foo.com">link link</a>
                <a href="http://foo.com">link link</a>
                <a href="http://foo.com">link link</a>
                <a href="http://foo.com">link link</a>
                <a href="http://foo.com">link link</a>
                <a href="http://foo.com">link link</a>
                <a href="http://foo.com">link link</a>
                <a href="http://foo.com">link link</a>
            </p>
        </div>
    </center>
</div>
</body>
</html>